procedure HaltVersion(versionNum : real);

If the version number specified is not greater or equal to the version number of MacPhase this function causes MacPhase to issue a error dialog and halts the macro.

Also see:  WhatVersion  FunctionAvailable